﻿using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
using UnityEditor;

namespace YooAsset.Editor
{
    public static class AssetBundleBuilderHelper
    {
        /// <summary>
        /// 获取默认的输出根目录
        /// </summary>
        public static string GetDefaultBuildOutputRoot()
        {
            string projectPath = EditorTools.GetProjectPath();
			return $"{projectPath}/Bundles/{Application.identifier}";
        }

        /// <summary>
        /// 获取流文件夹路径
        /// </summary>
        public static string GetStreamingAssetsRoot()
        {
            return YooAssetSettingsData.GetYooDefaultBuildinRoot();
        }
    }
}